<?php /* Smarty version 2.6.18, created on 2008-07-12 12:03:13
         compiled from ajax_products.component.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', '_', 'ajax_products.component.tpl', 1, false),array('function', 'd', 'ajax_products.component.tpl', 15, false),)), $this); ?>
<b><?php echo translate(array('t' => 'Atributos'), $this);?>
</b>
<div id="attr_working" style="display:none;">WORKING</div>
<div id="attrs">
<?php $this->assign('created_by', $this->_tpl_vars['product']->created_by()); ?>
<?php $this->assign('edited_by', $this->_tpl_vars['product']->edited_by()); ?>
	<ul id="attrs_list">
		<li><span>Precio:</span><input type="text" id="product_price" class="txt edit_mode" value="<?php echo $this->_tpl_vars['product']->price; ?>
"></li>
		<li>
			<span>Estado:</span>
			<select id="product_visibility" name="product_visibility" class="edit_mode">
				<option <?php if ($this->_tpl_vars['product']->visibility == 5): ?> selected="selected"<?php endif; ?> value="5" >PUBLIC</option>
				<option <?php if ($this->_tpl_vars['product']->visibility == 3): ?> selected="selected"<?php endif; ?> value="3" >DRAFT</option>
			</select>
		</li>
		<li><span>Creado:  <?php echo $this->_tpl_vars['created_by']->name; ?>
 (<?php echo datef(array('d' => $this->_tpl_vars['product']->created_at), $this);?>
)</span></li>
		<li><span>Editado: <?php echo $this->_tpl_vars['edited_by']->name; ?>
  (<?php echo datef(array('d' => $this->_tpl_vars['product']->edited_at), $this);?>
)</span></li>
	</ul>
</div>
